package org.xlx.xlx_oa.warehouse.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.xlx.xlx_oa.common.BaseEntityDto;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class WarehouseDto extends BaseEntityDto implements Serializable {
    @ApiModelProperty(value = "仓库id")
    private Long id;

    @ApiModelProperty(value = "仓库名称")
    private String title;

    @ApiModelProperty(value = "仓库描述")
    private String description;

    @ApiModelProperty(value = "主要负责人id")
    private Long userId;

    @ApiModelProperty(value = "名")
    private String firstName;

    @ApiModelProperty(value = "中间名")
    private String middleName;

    @ApiModelProperty(value = "姓")
    private String lastName;

    @ApiModelProperty(value = "部门名称")
    private String departmentTitle;

    @ApiModelProperty(value = "岗位名称")
    private String positionTitle;

    @ApiModelProperty(value = "仓库地址")
    private String address;

    @ApiModelProperty(value = "仓库容量m³")
    private Integer capacity;

    @ApiModelProperty(value = "设立时间")
    private LocalDateTime establishTime;
}
